package teacher.bean;

import java.util.Date;

/**
 * Treatise entity. @author MyEclipse Persistence Tools
 */

public class Treatise implements java.io.Serializable {

	// Fields

	private Integer treId;//主键
	private String name;//论著名称
	private String author;//作者
	private Date date;//出版日期
	private Integer state;//状态 0未审核 1通过 2不通过
	private Integer class_;//论著类型0教材 1专著 2编著 3译著 
	private String press;//出版社
	private String abstract_;//摘要
	private String upload;//相对路径
	private String bookNum;//书号
	private Integer teaId;//老师Id

	// Constructors

	/** default constructor */
	public Treatise() {
	}

	/** full constructor */
	public Treatise(String name, String author, Date date, Integer state,
			Integer class_, String press, String abstract_, String upload,
			String bookNum, Integer teaId) {
		this.name = name;
		this.author = author;
		this.date = date;
		this.state = state;
		this.class_ = class_;
		this.press = press;
		this.abstract_ = abstract_;
		this.upload = upload;
		this.bookNum = bookNum;
		this.teaId = teaId;
	}

	// Property accessors

	public Integer getTreId() {
		return this.treId;
	}

	public void setTreId(Integer treId) {
		this.treId = treId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getClass_() {
		return class_;
	}

	public void setClass_(Integer class_) {
		this.class_ = class_;
	}

	public String getPress() {
		return this.press;
	}

	public void setPress(String press) {
		this.press = press;
	}

	public String getAbstract_() {
		return this.abstract_;
	}

	public void setAbstract_(String abstract_) {
		this.abstract_ = abstract_;
	}

	public String getUpload() {
		return this.upload;
	}

	public void setUpload(String upload) {
		this.upload = upload;
	}

	public String getBookNum() {
		return this.bookNum;
	}

	public void setBookNum(String bookNum) {
		this.bookNum = bookNum;
	}

	public Integer getTeaId() {
		return this.teaId;
	}

	public void setTeaId(Integer teaId) {
		this.teaId = teaId;
	}

}